package liang.jiaxin.com.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jrxsr
 * @since 2019-04-13
 */
@ApiModel("")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bbsThemes")
public class BbsThemes extends Model<BbsThemes> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @ApiModelProperty(value = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 主题颜色
     */
    @ApiModelProperty(value = "主题颜色")
    private String color;
    /**
     * 主页名称
     */
    @ApiModelProperty(value = "主页名称")
    private String name;
    /**
     * 主页邮箱
     */
    @ApiModelProperty(value = "主页邮箱")
    private String email;
    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String headUrl;
    /**
     * logoUrl
     */
    @ApiModelProperty(value = "logoUrl")
    private String logoUrl;


    public static final String ID = "id";

    public static final String COLOR = "color";

    public static final String NAME = "name";

    public static final String EMAIL = "email";

    public static final String HEADURL = "head_url";

    public static final String LOGOURL = "logo_url";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
